﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidBox4Mvc.ValidRules;

namespace Domain.Model
{
    /// <summary>
    /// 转账
    /// </summary>
    public class Transfer:Entity
    {
        public Guid UserId { get; set; }
        /// <summary>
        /// 转出会员
        /// </summary>
        [Length(30)]
        public string MenberOut { get; set; }
        /// <summary>
        /// 转入会员
        /// </summary>
        [Length(30)]
        [Required]
        public string UserIn { get; set; }
        /// <summary>
        /// 转账类型
        /// </summary>
        [Length(30)]
        public string TransferType { get; set; }
        /// <summary>
        /// 转账金额
        /// </summary>
        public decimal Amount { get; set; }
    }
}
